//
//  ActiveHeaderView.m
//  Findif
//
//  Created by Cicel Chen on 2018/10/19.
//  Copyright © 2018年 Cicel Chen. All rights reserved.
//

#import "ActiveHeaderView.h"
#import "TopCollectionView.h"

@interface ActiveHeaderView ()

@property (nonatomic, strong)TopCollectionView * topView;

@end

@implementation ActiveHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        
        [self setupUI];
    }
    return self;
}


- (void)setupUI{
    
    self.backgroundColor = ZRWhiteColor;
    
    self.topView = [[TopCollectionView alloc] initWithFrame:CGRectMake(0, 0, kScreenW, 90 * SCREENH6)];
    self.topView.type = @"active";
    
    [self addSubview:self.topView];
}

@end
